dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
615935c
)
*Fix seek offset bug for showList() when there are no results
author
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 14 Mar 2007 02:40:47 +0000
(
02:40
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 14 Mar 2007 02:40:47 +0000
(
02:40
+0000)
includes/SpecialLog.php
patch
|
blob
|
history
diff --git
a/includes/SpecialLog.php
b/includes/SpecialLog.php
index
be29167
..
9194a53
100644
(file)
--- a/
includes/SpecialLog.php
+++ b/
includes/SpecialLog.php
@@
-290,7
+290,11
@@
class LogViewer {
* @param OutputPage $out where to send output
*/
function showList( &$out ) {
- $this->doShowList( $out, $this->getLogRows() );
+ if ( $this->numResults > 0 ) {
+ $this->doShowList( $out, $this->getLogRows() );
+ } else {
+ $this->showError( $out );
+ }
}
function doShowList( &$out, $result ) {